<?php
class Account_Form_Account_Assign extends Zend_Form
{

	public function __construct(Zend_Controller_Action $controller)
	{		
		$account_username = $this->createElement ( 'text', 'account_username' )->setLabel ( "Tài khoản" )->setAttrib('class', 'lock');
			
		$account_group_code = $this->createElement ( 'select', 'account_group_code' )->setLabel ( "Thuộc nhóm người dùng" )->setRequired ( true );
		
		$this->addElements ( array (
			$account_username, $account_group_code 
		) );
		
		$controller->getHelper ( "common" )->form ( $this );
	}
}